package com.pingba.dao.location;

import com.pingba.dao.BaseDao;
import com.pingba.entity.location.City;
import com.pingba.entity.location.Province;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2015/12/23 0023.
 */
@Repository
public interface CityDao extends BaseDao<City, Long> {

    /**
     * 得到该省份下所有的城市
     * @param province
     * @return
     */
    List<City> getCityOfProvince(Province province);
}
